package org.jeecg.modules.system.upgrade.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: APP升级日志表
 * @Author: 月月鸟
 * @Date:   2021-07-14
 * @Version: V1.0
 */
@Data
@TableName("bike_upgrade_app_upgrade")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bike_upgrade_app_upgrade对象", description="APP升级日志表")
public class BikeUpgradeAppUpgrade implements Serializable {
    private static final long serialVersionUID = 1L;

	/**安装包编码*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "安装包编码")
    private java.lang.String id;
	/**终端编码(由具体应用保持唯一)*/
	@Excel(name = "终端编码(由具体应用保持唯一)", width = 15)
    @ApiModelProperty(value = "终端编码(由具体应用保持唯一)")
    private java.lang.String clientId;
	/**所属APP*/
	@Excel(name = "所属APP", width = 15)
    @ApiModelProperty(value = "所属APP")
    private java.lang.String appId;
	/**版本ID*/
	@Excel(name = "版本ID", width = 15)
    @ApiModelProperty(value = "版本ID")
    private java.lang.String versionId;

    /**版本编号*/
    @TableField(exist = false)
    @Excel(name = "版本编号", width = 15)
    @ApiModelProperty(value = "版本编号")
    private java.lang.String version;
	/**升级时间*/
	@Excel(name = "升级时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "升级时间")
    private java.util.Date upgradeTime;
}
